Pick Parts Masks
QuickDraw 3D defines pick parts masks to indicate the kinds of objects it has placed in the hit list. You use the face, vertex, and edge values to pick parts of meshes. To pick any other object, use the valuekQ3PickPartsObject
.
typedef enum TQ3PickPartsMasks { kQ3PickPartsObject = 0, kQ3PickPartsMaskFace = 1 << 0, kQ3PickPartsMaskEdge = 1 << 1, kQ3PickPartsMaskVertex = 1 << 2 } TQ3PickPartsMasks;Constant descriptions
kQ3PickPartsObject
- The hit list contains only whole objects.
kQ3PickPartsMaskFace
- The hit list contains faces.
kQ3PickPartsMaskEdge
- The hit list contains edges.
kQ3PickPartsMaskVertex
- The hit list contains vertices.